package com.ad_hccm.domain.Appendix;

import java.util.Date;

/**
 * @ClassName AE TODO 不良事件(AE)报告表
 * @id 身份证(不良事件(AE)报告表)
 * @week 时间
 * @isAE 有无不良事件(AE)(1:有、0:无)
 * @name 不良事件名称
 * @startDate 发生日期
 * @finishDate 结束日期
 * @degree 1:轻度，2:中度，3:重度
 * @measure 采取的措施
 * @relativity 与治疗措施的相关性(1:肯定有关 ，2:可能有关，3:无关，4:无法判定)
 * @result (1:恢复，2:恢复但留有后遗症，3:死亡，4:不知道，5:未恢复)
 * @isExit
 * @name 多表查询的名字(另一张表的数据)
 */
public class AE {
    private String id;
    private int week;
    private byte isAE;
    private String name;
    private Date startDate;
    private Date finishDate;
    private short degree;
    private String measure;
    private int relativity;
    private int result;
    private byte isExit;
    private String idName;

    @Override
    public String toString() {
        return "AE{" +
                "id='" + id + '\'' +
                ", week=" + week +
                ", isAE=" + isAE +
                ", name='" + name + '\'' +
                ", startDate=" + startDate +
                ", finishDate=" + finishDate +
                ", degree=" + degree +
                ", measure='" + measure + '\'' +
                ", relativity=" + relativity +
                ", result=" + result +
                ", isExit=" + isExit +
                ", idname='" + idName + '\'' +
                '}';
    }

    public byte getIsExit() {
        return isExit;
    }

    public void setIsExit(byte isExit) {
        this.isExit = isExit;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    public byte getIsAE() {
        return isAE;
    }

    public void setIsAE(byte isAE) {
        this.isAE = isAE;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    public short getDegree() {
        return degree;
    }

    public void setDegree(short degree) {
        this.degree = degree;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure;
    }

    public int getRelativity() {
        return relativity;
    }

    public void setRelativity(int relativity) {
        this.relativity = relativity;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }
}
